package com.hmdp.service;

import com.hmdp.dto.Result;
import com.hmdp.entity.Blog;
import com.baomidou.mybatisplus.extension.service.IService;


public interface IBlogService extends IService<Blog> {
    //根据博客id查询博客笔记
    Result queryBlogById(Long blogId);

    //滚动分页
    Result scroll(Long lastMinTime, Long offset);

    Result likeOrCancel(Long id);

    Result queryUsersLikeById(Long id);
}
